import router from './router'
import getPageTitle from '@/utils/get-page-title'

router.beforeEach((to, from, next) => {
  // set page title
  document.title = getPageTitle(to.meta.title)
  next()
})

router.afterEach(() => {})
